package com.paomi.client.activity.person.model;

import com.paomi.client.bean.BaseJSON;

import java.io.Serializable;
import java.util.List;

/**
 * Created by pc on 2018/12/4
 * Describe:演出积分的计算
 * "returnData": {
 *         "data": [
 *             {
 *                 "integralBalance": 27,//积分余额
 *                 "rate": 100,//积分与人民币的比例 100 积分 = 1人民币
 *                 "threshold": 2,//积分抵扣 现金 最大比例
 *             }
 *         ],
 * }
 * com.paomi.client.activity.person.model
 */
public class TicketBalanceBean extends BaseJSON {
    private TicketBalance returnData;

    public TicketBalance getReturnData() {
        return returnData;
    }

    public void setReturnData(TicketBalance returnData) {
        this.returnData = returnData;
    }

    public class TicketBalance implements Serializable{
        private List<TicketBalJson> data;

        public List<TicketBalJson> getData() {
            return data;
        }

        public void setData(List<TicketBalJson> data) {
            this.data = data;
        }
    }
    public class TicketBalJson implements Serializable{
        private float integralBalance;
        private int rate;
        private int threshold;

        public float getIntegralBalance() {
            return integralBalance;
        }

        public void setIntegralBalance(float integralBalance) {
            this.integralBalance = integralBalance;
        }

        public int getRate() {
            return rate;
        }

        public void setRate(int rate) {
            this.rate = rate;
        }

        public int getThreshold() {
            return threshold;
        }

        public void setThreshold(int threshold) {
            this.threshold = threshold;
        }
    }
}
